{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
 <style>
		@media only screen and (max-width: 760px),(min-device-width: 768px) and (max-device-width:1024px)  {
		#mytable, #mytable thead, #mytable tbody, #mytable th, #mytable td, #mytable tr { 
			display: block; 
		}
		#mytable thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		#mytable td { 
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left:44% !important; 
			padding-top:10px ;
		}
	    #mytable tr{ margin-bottom:20px;}
		#mytable td:before { 
			position: absolute;
			top:10px;
			left:8px;
			width: 45%; 
			padding-right:10px;
			white-space: nowrap;
		}
		    #mytable td:nth-of-type(1):before { content: "编号"; }
			#mytable td:nth-of-type(2):before { content: "姓名"; }
			#mytable td:nth-of-type(3):before { content: "变动事项"; }
			#mytable td:nth-of-type(4):before { content: "日期"; }
			#mytable td:nth-of-type(5):before { content: "源单位"; }
			#mytable td:nth-of-type(6):before { content: "目的单位"; }
			#mytable td:nth-of-type(7):before { content: "备注"; }
			#mytable td:nth-of-type(8):before { content: "操作"; }
        }		
	</style>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="POST">	
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">人事变动列表</p>
				 </div>               
					<div style="clear:both; height:3px;"></div>		
                 <div class="box-body">	
                     <table class="table table-bordered table-striped"  id="mytable">
                                <thead>
                                    <tr style=" background-color:#a273ff;">
                                        <td>教师编号</td>
                                        <td>姓名</td>
										<td>变动事项</td>
                                        <td>日期</td>
										<td>源单位</td>
                                        <td>目的单位</td>
                                        <td>在岗信息</td>
										<td>备注</td>
                                        <td>操作</td>
                                    </tr>	
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>{%$staff_data.staff_number%}</td>
                                        <td>{%$staff_data.staff_name%}</td>
										<td>{%$staff_data.staff_variation%}</td>
                                        <td>{%$staff_data.update_time%}</td>
										<td>{%$staff_data.staff_from%}</td>
                                        <td>{%$staff_data.staff_to%}</td>
										<td>{%$staff_data.staff_sign%}</td>
										<td>{%$staff_data.staff_remark%}</td>
                                        <td>
                                        	  <a href="index.php?a=change.update&staff_id={%$staff_data.staff_id%}" class="btn btn-warning btn-sm" title="修改"> <i class="fa fa-edit (alias)"></i> </a>
                                        </td>
                                    </tr>	
                              </tbody>
                        </table>
				   </div><!--box-body -->
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
